<template>
  <slash-panel>
    <slash-panel-header title="${tableNote}"/>
    <slash-panel-body>
      <${entityName}List/>
    </slash-panel-body>
  </slash-panel>
</template>

<script lang="ts">
import {SlashPanel, SlashPanelBody, SlashPanelHeader} from "slash-admin";
import ${entityName}List from "./${entityName}List.vue";
import {ref} from "vue"


export default {
  name: "${entityName}Entry",
  components: {${entityName}List, SlashPanelBody, SlashPanelHeader, SlashPanel},
  setup(){
    const queryForm = ref<any>({

    });
    const listRef=ref<any>(null);
    const onSelect=(option)=>{
      // queryForm.value.fkDictGroupCode=option.groupCode;
      setTimeout(() => {
        listRef.value.reloadTable();
      }, 50);
    }
    return{
      onSelect,
      listRef,
      queryForm
    }
  }
}
</script>

<style scoped>

</style>
